# Functions
NewFakeIO creates and initializes a new FakeIO using buf as its initial contents.
NewFakeIOString creates and initializes a new FakeIO using string s as its initial contents.
NewSyncFakeIO creates and initializes a new SyncFakeIO using buf as its initial contents.
NewSyncFakeIOString creates and initializes a new SyncFakeIO using string s as its initial contents.
# Constants
MinRead is the minimum slice size passed to a Read call by FakeIO.ReadFrom.
# Variables
ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
# Structs
A FakeIO is a variable-sized buffer of bytes with Read and Write methods.
A SyncFakeIO is a variable-sized buffer of bytes with Read and Write methods.