Lines Matching refs:buffer
54 public void marshal(StreamConfigurationDuration value, ByteBuffer buffer) {
55 buffer.putLong(value.getFormat() & MASK_UNSIGNED_INT); // unsigned int -> long
56 buffer.putLong(value.getWidth());
57 buffer.putLong(value.getHeight());
58 buffer.putLong(value.getDuration());
62 public StreamConfigurationDuration unmarshal(ByteBuffer buffer) {
63 int format = (int)buffer.getLong();
64 int width = (int)buffer.getLong();
65 int height = (int)buffer.getLong();
66 long durationNs = buffer.getLong();