code: private Map<String, ArrayList<Depth>> getDepthData(byte[] bin, int dec, int start, int end){
          byte[] depthBytes = getBytes(bin, start, end);
          int s = 0;
          ArrayList<Depth> buy = new ArrayList<Depth>();
          ArrayList<Depth> sell = new ArrayList<Depth>();
          for (int k = 0; k < 10; k++) {
              s = k * 12;
              Depth depth = new Depth();
              depth.setQuantity((int)convertToDouble(getBytes(depthBytes, s, s + 4)));
              depth.setPrice(convertToDouble(getBytes(depthBytes, s + 4, s + 8))/dec);
              depth.setOrders((int)convertToDouble(getBytes(depthBytes, s + 8, s + 10)));
  
              if (k < 5) {
                  buy.add(depth);
              } else {
                  sell.add(depth);
              }
          }
          Map<String, ArrayList<Depth>> depthMap = new HashMap<String, ArrayList<Depth>>();
          depthMap.put("buy", buy);
          depthMap.put("sell", sell);
          return depthMap;
      }
docs: Reads all bytes and returns map of depth values for offer and bid