1 package org.simantics.team.internal;
3 import java.nio.ByteBuffer;
4 import java.nio.DoubleBuffer;
11 public static void main(String[] args) {
12 byte[] bytes = {63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 64, 49, 0, 0, 0, 0, 0, 0, 64, 104, 32, 0, 0, 0, 0, 0};
13 ByteBuffer bf = ByteBuffer.wrap(bytes);
14 DoubleBuffer buf = bf.asDoubleBuffer();
15 for (int i=0; i<bytes.length/8; ++i)
16 System.out.println("" + buf.get());
18 // TODO Auto-generated method stub