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

Method put12

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

Puts a byte and a short into this byte vector. The byte vector is automatically enlarged if necessary. @param b a byte. @param s a short. @return this byte vector.

(final int b, final int s)

Source from the content-addressed store, hash-verified

140 */
141
142 public ByteVector put12 (final int b, final int s) {
143 int length = this.length;
144 if (length + 3 > data.length) {
145 enlarge(3);
146 }
147 byte[] data = this.data;
148 data[length++] = (byte)b;
149 data[length++] = (byte)(s >>> 8);
150 data[length++] = (byte)s;
151 this.length = length;
152 return this;
153 }
154
155 /**
156 * Puts an int into this byte vector. The byte vector is automatically

Callers 11

visitIntInsnMethod · 0.80
visitVarInsnMethod · 0.80
visitTypeInsnMethod · 0.80
visitFieldInsnMethod · 0.80
visitMethodInsnMethod · 0.80
visitLdcInsnMethod · 0.80
visitIincInsnMethod · 0.80
newClassMethod · 0.80
newStringMethod · 0.80
put122Method · 0.80

Calls 1

enlargeMethod · 0.95

Tested by

no test coverage detected