code: public static ByteBuffer[] split(ByteBuffer byteBuffer, AbstractType<?> type) {
          if (type instanceof CompositeType) {
              return ((CompositeType) type).split(byteBuffer);
          } else {
              return new ByteBuffer[]{byteBuffer};
          }
      }
docs: Returns the {@link java.nio.ByteBuffer}s contained in {@code byteBuffer} according to {@code type}.
  
  @param byteBuffer the {@link java.nio.ByteBuffer} to be split.
  @param type       the {@link AbstractType} of {@code byteBuffer}.
  @return the {@link java.nio.ByteBuffer}s contained in {@code byteBuffer} according to {@code type}.