Here you can find the source of readVL(ByteBuffer byteBuffer)
public static List<Long> readVL(ByteBuffer byteBuffer)
//package com.java2s; /*//from ww w . j a v a2s . com * (C) 2007-2010 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ import java.nio.ByteBuffer; import java.util.List; import java.util.ArrayList; public class Main { public static List<Long> readVL(ByteBuffer byteBuffer) { List<Long> ret = new ArrayList<Long>(); // get vector's length int size = byteBuffer.getInt(); for (int i = 0; i < size; ++i) { ret.add(byteBuffer.getLong()); } return ret; } }