Parameters: char const * f, int l
Returns: LandBuffer*
Parameters: LandBuffer * self, char const * f, int l
Returns: char*
Parameters: char const * filename, char const * f, int l
Parameters: LandBuffer const * self, char delim, char const * f, int line
Returns: LandArray*
no parameters
Parameters: LandBuffer * other
Parameters: LandBuffer * other, int x, int n
Parameters: LandBuffer * other, int x
Parameters: LandBuffer * self
Parameters: LandBuffer * self, int n
Parameters: LandBuffer * self, int pos, char const * buffer, int n
Parameters: LandBuffer * self, int from_pos, int to_pos, int n
Parameters: LandBuffer * self, int pos, int n
Parameters: LandBuffer * self, char const * b, int n
Parameters: LandBuffer * self, char const * format, va_list args
Parameters: LandBuffer * self, char const * format, …
Parameters: LandBuffer * self, uint32_t i
Parameters: LandBuffer * self, int pos
Returns: uint32_t
Returns: uint16_t
Returns: uint8_t
Parameters: LandBuffer * self, float f
Parameters: LandBuffer * self, char c
Parameters: LandBuffer * self, char const * string
Appends a zero-terminated string (without the 0 byte) to the buffer.
Clears the buffer (but keeps any memory allocation for speedy refilling).
Make the buffer use up only the minimum required amount of memory.
Destroys the buffer, but returns a C-string constructed from it by appending a 0 character. You may not access the pointer you pass to this function anymore after it returns. Also, you have to make sure it does not already contain any 0 characters. When no longer needed, you should free the string with land_free.
Returns: bool
Parameters: LandBuffer const * self, str delim
Creates an array of buffers. If there are n occurences of string delim in the buffer, the array contains n + 1 entries. No buffer in the array contains the delim string.
Parameters: LandBuffer * self, char const * what
Returns: int
Parameters: LandBuffer const * self, int offset, char const * what
Parameters: LandBuffer * self, int offset, char const * wat, char const * wit
Parameters: LandBuffer * self, char const * wat, char const * wit
Parameters: char const * filename
Read a buffer from the given file. If the file cannot be read, return None.
Parameters: LandBuffer * self, char const * filename
Parameters: LandBuffer * self, LandBuffer * other