Searched refs:byteStream (Results 1 – 5 of 5) sorted by relevance
58 var byteStream = serialize(foo, foo); in testReadUnshared() local59 var foo1 = (Foo) deserializeOne(byteStream); in testReadUnshared()61 var foo2 = (Foo) deserializeOne(byteStream); in testReadUnshared()66 var byteStream = serialize(foo, foo); in testReadUnshared() local67 var foo1 = (Foo) deserializeOneUnshared(byteStream); in testReadUnshared()69 var expected = expectThrows(IOE, () -> deserializeOne(byteStream)); in testReadUnshared()78 var byteStream = serializeUnshared(foo, foo); in testWriteUnshared() local79 var foo1 = (Foo) deserializeOne(byteStream); in testWriteUnshared()81 var foo2 = (Foo) deserializeOne(byteStream); in testWriteUnshared()86 var byteStream = serializeUnshared(foo, foo); in testWriteUnshared() local[all …]
128 var byteStream = new ObjectInputStream(new ByteArrayInputStream(bytes)); in basicRefWithInvalidA() local130 InvalidObjectException ioe = expectThrows(IOE, () -> deserializeOne(byteStream)); in basicRefWithInvalidA()136 B b1 = (B)deserializeOne(byteStream); in basicRefWithInvalidA()151 var byteStream = new ObjectInputStream(new ByteArrayInputStream(bytes)); in reverseBasicRefWithInvalidA() local153 InvalidObjectException ioe = expectThrows(IOE, () -> deserializeOne(byteStream)); in reverseBasicRefWithInvalidA()159 A a1 = (A)deserializeOne(byteStream); in reverseBasicRefWithInvalidA()
115 public InputSource (InputStream byteStream) in InputSource() argument117 setByteStream(byteStream); in InputSource()236 public void setByteStream (InputStream byteStream) in setByteStream() argument238 this.byteStream = byteStream; in setByteStream()254 return byteStream; in getByteStream()335 private InputStream byteStream; field in InputSource
70 public void setByteStream(java.io.OutputStream byteStream); in setByteStream() argument
92 public void setByteStream(java.io.InputStream byteStream); in setByteStream() argument