]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.team.ui/src/org/simantics/team/internal/Kraa.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.team.ui / src / org / simantics / team / internal / Kraa.java
1 package org.simantics.team.internal;\r
2 \r
3 import java.nio.ByteBuffer;\r
4 import java.nio.DoubleBuffer;\r
5 \r
6 public class Kraa {\r
7 \r
8     /**\r
9      * @param args\r
10      */\r
11     public static void main(String[] args) {\r
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};\r
13         ByteBuffer bf = ByteBuffer.wrap(bytes);\r
14         DoubleBuffer buf = bf.asDoubleBuffer();\r
15         for (int i=0; i<bytes.length/8; ++i) \r
16             System.out.println("" + buf.get());\r
17         \r
18         // TODO Auto-generated method stub\r
19 \r
20     }\r
21 \r
22 }\r