Package org.jzy3d.io
Class BufferUtil
java.lang.Object
org.jzy3d.io.BufferUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic float[]
copyFloat
(FloatBuffer buffer) Copy content of a direct float buffer as buffer.array() is an unsupported operationstatic void
static Coord3d
getCoordAt
(FloatBuffer buffer, int i) getCoords
(FloatBuffer buffer) static void
static void
A simple utility to upcast buffers to invoke some of their methods without hitting compatibility issues between Java invalid input: '<' 9 and Java 9+ https://stackoverflow.com/questions/61267495/exception-in-thread-main-java-lang-nosuchmethoderror-java-nio-bytebuffer-flip Useful if compiled with Java >9 and app run with Java invalid input: '<'9
-
Constructor Details
-
BufferUtil
public BufferUtil()
-
-
Method Details
-
rewind
A simple utility to upcast buffers to invoke some of their methods without hitting compatibility issues between Java invalid input: '<' 9 and Java 9+ https://stackoverflow.com/questions/61267495/exception-in-thread-main-java-lang-nosuchmethoderror-java-nio-bytebuffer-flip Useful if compiled with Java >9 and app run with Java invalid input: '<'9 -
flip
-
limit
-
copyFloat
Copy content of a direct float buffer as buffer.array() is an unsupported operation -
getCoordAt
-
getCoords
-