Method ADT.struct()->contents() Method contents string(8bit) contents() Description Trims the buffer to only contain the data after the read pointer and returns the contents of the buffer.