Documentation
¶
Overview ¶
Package sizing provides safe size arithmetic and conversions to prevent overflow.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAllWithLimit ¶
ReadAllWithLimit reads up to maxSize bytes from r. Returns overflowErr if more than maxSize bytes are available.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.