MCPcopy
hub / github.com/google/guava / createBuffer

Method createBuffer

guava/src/com/google/common/io/ByteStreams.java:61–63  ·  guava/src/com/google/common/io/ByteStreams.java::ByteStreams.createBuffer

Creates a new byte array for buffering reads or writes.

()

Source from the content-addressed store, hash-verified

59
60 /** Creates a new byte array for buffering reads or writes. */
61 static byte[] createBuffer() {
62 return new byte[BUFFER_SIZE];
63 }
64
65 /**
66 * There are three methods to implement {@link FileChannel#transferTo(long, long,

Callers 4

copyMethod · 0.95
exhaustMethod · 0.95
readBytesMethod · 0.95
contentsEqualMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected