test_class.declarator: fstObjectOutput
test_class.modifier: private
test_class.original_string: private FstObjectOutput fstObjectOutput;
test_class.type: FstObjectOutput
test_class.var_name: fstObjectOutput
test_class.declarator: fstObjectInput
test_class.modifier: private
test_class.original_string: private FstObjectInput fstObjectInput;
test_class.type: FstObjectInput
test_class.var_name: fstObjectInput
test_class.declarator: byteArrayOutputStream
test_class.modifier: private
test_class.original_string: private ByteArrayOutputStream byteArrayOutputStream;
test_class.type: ByteArrayOutputStream
test_class.var_name: byteArrayOutputStream
test_class.declarator: byteArrayInputStream
test_class.modifier: private
test_class.original_string: private ByteArrayInputStream byteArrayInputStream;
test_class.type: ByteArrayInputStream
test_class.var_name: byteArrayInputStream
test_class.file: dubbo-serialization/dubbo-serialization-fst/src/test/java/com/alibaba/dubbo/common/serialize/fst/FstObjectOutputTest.java
test_class.identifier: FstObjectOutputTest
test_case.body: @Test
      public void testWriteNullBytes() throws IOException {
          this.fstObjectOutput.writeBytes(null);
          this.flushToInput();
  
          byte[] result = this.fstObjectInput.readBytes();
          assertThat(result, is(nullValue()));
      }
test_case.class_method_signature: FstObjectOutputTest.testWriteNullBytes()
test_case.full_signature: @Test public void testWriteNullBytes()
test_case.identifier: testWriteNullBytes
test_case.invocations: writeBytes flushToInput readBytes assertThat is nullValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWriteNullBytes()
focal_class.declarator: output
focal_class.modifier: private
focal_class.original_string: private FSTObjectOutput output;
focal_class.type: FSTObjectOutput
focal_class.var_name: output
focal_class.file: dubbo-serialization/dubbo-serialization-fst/src/main/java/com/alibaba/dubbo/common/serialize/fst/FstObjectOutput.java
focal_class.identifier: FstObjectOutput
focal_class.interfaces: implements ObjectOutput
focal_class.class_method_signature: FstObjectOutput.FstObjectOutput(OutputStream outputStream)
focal_class.full_signature: public  FstObjectOutput(OutputStream outputStream)
focal_class.identifier: FstObjectOutput
focal_class.modifiers: public
focal_class.parameters: (OutputStream outputStream)
focal_class.signature:  FstObjectOutput(OutputStream outputStream)
focal_class.class_method_signature: FstObjectOutput.writeBool(boolean v)
focal_class.full_signature: @Override public void writeBool(boolean v)
focal_class.identifier: writeBool
focal_class.modifiers: @Override public
focal_class.parameters: (boolean v)
focal_class.return: void
focal_class.signature: void writeBool(boolean v)
focal_class.class_method_signature: FstObjectOutput.writeByte(byte v)
focal_class.full_signature: @Override public void writeByte(byte v)
focal_class.identifier: writeByte
focal_class.modifiers: @Override public
focal_class.parameters: (byte v)
focal_class.return: void
focal_class.signature: void writeByte(byte v)
focal_class.class_method_signature: FstObjectOutput.writeShort(short v)
focal_class.full_signature: @Override public void writeShort(short v)
focal_class.identifier: writeShort
focal_class.modifiers: @Override public
focal_class.parameters: (short v)
focal_class.return: void
focal_class.signature: void writeShort(short v)
focal_class.class_method_signature: FstObjectOutput.writeInt(int v)
focal_class.full_signature: @Override public void writeInt(int v)
focal_class.identifier: writeInt
focal_class.modifiers: @Override public
focal_class.parameters: (int v)
focal_class.return: void
focal_class.signature: void writeInt(int v)
focal_class.class_method_signature: FstObjectOutput.writeLong(long v)
focal_class.full_signature: @Override public void writeLong(long v)
focal_class.identifier: writeLong
focal_class.modifiers: @Override public
focal_class.parameters: (long v)
focal_class.return: void
focal_class.signature: void writeLong(long v)
focal_class.class_method_signature: FstObjectOutput.writeFloat(float v)
focal_class.full_signature: @Override public void writeFloat(float v)
focal_class.identifier: writeFloat
focal_class.modifiers: @Override public
focal_class.parameters: (float v)
focal_class.return: void
focal_class.signature: void writeFloat(float v)
focal_class.class_method_signature: FstObjectOutput.writeDouble(double v)
focal_class.full_signature: @Override public void writeDouble(double v)
focal_class.identifier: writeDouble
focal_class.modifiers: @Override public
focal_class.parameters: (double v)
focal_class.return: void
focal_class.signature: void writeDouble(double v)
focal_class.class_method_signature: FstObjectOutput.writeBytes(byte[] v)
focal_class.full_signature: @Override public void writeBytes(byte[] v)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] v)
focal_class.return: void
focal_class.signature: void writeBytes(byte[] v)
focal_class.class_method_signature: FstObjectOutput.writeBytes(byte[] v, int off, int len)
focal_class.full_signature: @Override public void writeBytes(byte[] v, int off, int len)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] v, int off, int len)
focal_class.return: void
focal_class.signature: void writeBytes(byte[] v, int off, int len)
focal_class.class_method_signature: FstObjectOutput.writeUTF(String v)
focal_class.full_signature: @Override public void writeUTF(String v)
focal_class.identifier: writeUTF
focal_class.modifiers: @Override public
focal_class.parameters: (String v)
focal_class.return: void
focal_class.signature: void writeUTF(String v)
focal_class.class_method_signature: FstObjectOutput.writeObject(Object v)
focal_class.full_signature: @Override public void writeObject(Object v)
focal_class.identifier: writeObject
focal_class.modifiers: @Override public
focal_class.parameters: (Object v)
focal_class.return: void
focal_class.signature: void writeObject(Object v)
focal_class.class_method_signature: FstObjectOutput.flushBuffer()
focal_class.full_signature: @Override public void flushBuffer()
focal_class.identifier: flushBuffer
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flushBuffer()
focal_method.body: @Override
      public void writeBytes(byte[] v) throws IOException {
          if (v == null) {
              output.writeInt(-1);
          } else {
              writeBytes(v, 0, v.length);
          }
      }
focal_method.class_method_signature: FstObjectOutput.writeBytes(byte[] v)
focal_method.full_signature: @Override public void writeBytes(byte[] v)
focal_method.identifier: writeBytes
focal_method.invocations: writeInt writeBytes
focal_method.modifiers: @Override public
focal_method.parameters: (byte[] v)
focal_method.return: void
focal_method.signature: void writeBytes(byte[] v)