Documentation ¶
Overview ¶
Package ioutil implements I/O utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLimitedBufferReader ¶
NewLimitedBufferReader returns a reader that reads from the given reader but limits the amount of data returned to at most n bytes.
func WriteAndSyncFile ¶ added in v2.2.3
WriteAndSyncFile behaves just like ioutil.WriteFile in the standard library, but calls Sync before closing the file. WriteAndSyncFile guarantees the data is synced if there is no error returned.
Types ¶
Click to show internal directories.
Click to hide internal directories.