|  ReadBoolean | Reads a booleanfrom the bytes message stream. | 
|  ReadByte | Reads a signed 8-bit value from the bytes message stream. | 
|  ReadBytes | Overloaded. Reads a byte array from the bytes message stream. If the length of array valueis less than the number of bytes remaining to be read from the stream, the array will be filled. A subsequent call reads the next increment, and so on.
            
            If the number of bytes remaining in the stream is less than the length of arrayvalue, the bytes will be read into the array. The return value of the total number of bytes read will be less than the length of the array, indicating that there are no more bytes left to be read from the stream. The next read of the stream returns -1. | 
|  ReadChar | Reads a Unicode character value from the bytes message stream. | 
|  ReadDouble | Reads a doublefrom the bytes message stream. | 
|  ReadFloat | Reads a floatfrom the bytes message stream. | 
|  ReadInt | Reads a signed 32-bit integer from the bytes message stream. | 
|  ReadLong | Reads a signed 64-bit integer from the bytes message stream. | 
|  ReadShort | Reads a signed 16-bit number from the bytes message stream. | 
|  ReadUnsignedByte | Reads an unsigned 8-bit number from the bytes message stream. | 
|  ReadUnsignedShort | Reads an unsigned 16-bit number from the bytes message stream. | 
|  ReadUTF | Reads a string that has been encoded using a modified UTF-8 format from the bytes message stream. For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC 10646, Annex P. | 
|  Reset | Puts the message body in read-only mode and repositions the stream of bytes to the beginning. | 
|  WriteBoolean | Writes a booleanto the bytes message stream as a 1-byte value. The valuetrueis written as the value(byte)1; the valuefalseis written as the value(byte)0. | 
|  WriteByte | Writes a signed sbyte(8-bit signed integer with values ranging from negative 128 to positive 127) to the bytes message stream as a 1-byte value. | 
|  WriteBytes | Overloaded. Writes a byte array to the bytes message stream. | 
|  WriteChar | Writes a charto the bytes message stream as a 2-byte value, high byte first. | 
|  WriteDouble | Converts the doubleargument to alongusing thedoubleToLongBitsmethod in classDouble, and then writes thatlongvalue to the bytes message stream as an 8-byte quantity, high byte first. | 
|  WriteFloat | Converts the floatargument to anintusing thefloatToIntBitsmethod in classFloat, and then writes thatintvalue to the bytes message stream as a 4-byte quantity, high byte first. | 
|  WriteInt | Writes an intto the bytes message stream as four bytes, high byte first. | 
|  WriteLong | Writes a longto the bytes message stream as eight bytes, high byte first. | 
|  WriteObject | Writes an object to the bytes message stream. This method works only for the objectified primitive object types ( int,double,long...),Stringobjects, and byte arrays. | 
|  WriteShort | Writes a shortto the bytes message stream as two bytes, high byte first. | 
|  WriteUTF | Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner. For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC 10646, Annex P. |