code: private static void putMarkerAndSend(AutoBuffer ab, ByteChannel channel, long data) throws IOException{
          if(data == NUM_MARKER_NEXT_BYTE_FOLLOWS){
              // we need to send another byte because zero is represented as 00 ( 2 bytes )
              ab.put1(MARKER_ORIGINAL_VALUE);
          }
          writeToChannel(ab, channel);
      }
docs: Sends another byte as a marker if it's needed and send the data