MCPcopy Create free account
hub / github.com/beanshell/beanshell / put11

Method put11

src/bsh/org/objectweb/asm/ByteVector.java:101–111  ·  view source on GitHub ↗

Puts two bytes into this byte vector. The byte vector is automatically enlarged if necessary. @param b1 a byte. @param b2 another byte. @return this byte vector.

(final int b1, final int b2)

Source from the content-addressed store, hash-verified

99 */
100
101 public ByteVector put11 (final int b1, final int b2) {
102 int length = this.length;
103 if (length + 2 > data.length) {
104 enlarge(2);
105 }
106 byte[] data = this.data;
107 data[length++] = (byte)b1;
108 data[length++] = (byte)b2;
109 this.length = length;
110 return this;
111 }
112
113 /**
114 * Puts a short into this byte vector. The byte vector is automatically

Callers 5

visitIntInsnMethod · 0.80
visitVarInsnMethod · 0.80
visitMethodInsnMethod · 0.80
visitLdcInsnMethod · 0.80
visitIincInsnMethod · 0.80

Calls 1

enlargeMethod · 0.95

Tested by

no test coverage detected