protected void writeForBuffer(float value) throws IOException { int integer = Float.floatToIntBits(value); writeForBuffer(integer); }
protected void write(ByteBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(FloatBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(IntBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(ShortBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void writeForBuffer(float value) throws IOException { int integer = Float.floatToIntBits(value); writeForBuffer(integer); }
protected void writeForBuffer(float value) throws IOException { int integer = Float.floatToIntBits(value); writeForBuffer(integer); }
protected void write(ByteBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(ByteBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(FloatBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(IntBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(FloatBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(ShortBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(ShortBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }
protected void write(IntBuffer value) throws IOException { if (value == null) { write(NULL_OBJECT); return; } value.rewind(); int length = value.limit(); write(length); for (int x = 0; x < length; x++) { writeForBuffer(value.get()); } value.rewind(); }