class Proto::Wire::EmbeddedIO

Overview

Preserve nesting policy when generated/bootstrap decoders open child IOs.

Defined in:

proto/wire/reader.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bytes : Bytes, depth : Int32, max_recursion_depth : Int32, max_message_size : Int64 = (64_i64 * 1024) * 1024, max_field_length : Int32 = (8 * 1024) * 1024) #

[View source]

Instance Method Detail

def depth : Int32 #

[View source]
def max_field_length : Int32 #

[View source]
def max_message_size : Int64 #

[View source]
def max_recursion_depth : Int32 #

[View source]
def rewrap(bytes : Bytes) : self #

[View source]