Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxAllowedSectionSize uint = 32 << 20 // 32MiB
MaxAllowedSectionSize dictates the maximum number of bytes that a CARv1 header or section is allowed to occupy without causing a decode to error. This cannot be supplied as an option, only adjusted as a global. You should use v2#NewReader instead since it allows for options to be passed in.
Functions ¶
Types ¶
type BytesReader ¶
type BytesReader interface { io.Reader io.ByteReader }
Click to show internal directories.
Click to hide internal directories.