MCPcopy Create free account
hub / github.com/CleanroomMC/Cleanroom / getAddressSafe

Method getAddressSafe

src/main/java/org/lwjgl/MemoryUtil.java:122–124  ·  view source on GitHub ↗
(ByteBuffer buffer)

Source from the content-addressed store, hash-verified

120 // --- [ API utilities - Safe ] ---
121
122 public static long getAddressSafe(ByteBuffer buffer) {
123 return org.lwjgl3.system.MemoryUtil.memAddressSafe(buffer);
124 }
125
126 public static long getAddressSafe(ByteBuffer buffer, int position) {
127 return buffer == null ? 0L : getAddress(buffer, position);

Callers

nothing calls this directly

Calls 1

getAddressMethod · 0.95

Tested by

no test coverage detected