public void writeTo ( final PacketOutputStream pos ) throws IOException { pos . write ( BINARY_INTRODUCER ) ; if ( length == Long . MAX_VALUE ) { pos . write ( is , true , noBackslashEscapes ) ; } else { pos . write ( is , length , true , noBackslashEscapes ) ; } pos . write ( QUOTE ) ; }
Write stream in text format .