示例#1
0
 @Override
 protected void getContent(ByteBuffer byteBuffer) {
   writeVersionAndFlags(byteBuffer);
   IsoTypeWriter.writeIso639(byteBuffer, language);
   byteBuffer.put(Utf8.convert(description));
   byteBuffer.put((byte) 0);
 }
示例#2
0
 protected long getContentSize() {
   return 7 + Utf8.utf8StringLengthInBytes(description);
 }