Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileSize ¶
GetFileSize is a helper function to retrieve file size
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File is the wrapper around memory mapped file
func MapExisting ¶
MapExisting is the factory method used to create memory maps for existing file. This function will fail if the file does not exist.
func NewFile ¶
NewFile is a factory method to create a new memory mapped file with the specified capacity
func (*File) GetMemoryPtr ¶
GetMemoryPtr return the pointer to the mapped region of the file
func (*File) GetMemorySize ¶
GetMemorySize return the size of the mapped region of the file
Click to show internal directories.
Click to hide internal directories.