summaryrefslogtreecommitdiff
path: root/swift/src/Ice/InputStream.swift
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2019-04-30 12:42:45 -0400
committerBernard Normier <bernard@zeroc.com>2019-04-30 12:42:45 -0400
commitdcdb852e06a6fca1d1cfe724f913c1036fd743d0 (patch)
tree689096f3879a845fac03187704d5fc044fe87d63 /swift/src/Ice/InputStream.swift
parentRemoved leftover code (diff)
downloadice-dcdb852e06a6fca1d1cfe724f913c1036fd743d0.tar.bz2
ice-dcdb852e06a6fca1d1cfe724f913c1036fd743d0.tar.xz
ice-dcdb852e06a6fca1d1cfe724f913c1036fd743d0.zip
Removed ICEInputStream and regenerated project
Diffstat (limited to 'swift/src/Ice/InputStream.swift')
-rw-r--r--swift/src/Ice/InputStream.swift12
1 files changed, 0 insertions, 12 deletions
diff --git a/swift/src/Ice/InputStream.swift b/swift/src/Ice/InputStream.swift
index 4713ed4bb3e..aa35246ce8d 100644
--- a/swift/src/Ice/InputStream.swift
+++ b/swift/src/Ice/InputStream.swift
@@ -7,9 +7,7 @@ import IceObjc
public class InputStream {
// The underlying storage of an input stream can beeither:
// - Pointers to the C++ unmarshaling buffer (bytes not owned by Buffer)
- // - An ICEInputStream that holds a vector<Byte> (bytes not owned by Buffer)
// - A byte array passed and copied during initialization (bytes owned by Buffer)
- private var handle: ICEInputStream!
private var bytes: [UInt8]!
private var buf: Buffer // buf overlays the C++ unmarshal buffer stored in ICEInputStream or user buffer
@@ -48,16 +46,6 @@ public class InputStream {
classResolverPrefix = (communicator as! CommunicatorI).initData.classResolverPrefix
}
- init(communicator: Communicator, inputStream handle: ICEInputStream, encoding: EncodingVersion) {
- self.communicator = communicator
- self.encoding = encoding
- self.handle = handle
- buf = Buffer(start: handle.data(), count: handle.size())
- traceSlicing = communicator.getProperties().getPropertyAsIntWithDefault(key: "Ice.Trace.Slicing", value: 0) > 0
- classGraphDepthMax = (communicator as! CommunicatorI).classGraphDepthMax
- classResolverPrefix = (communicator as! CommunicatorI).initData.classResolverPrefix
- }
-
init(communicator: Communicator, start: UnsafeRawPointer, count: Int, encoding: EncodingVersion) {
self.communicator = communicator
self.encoding = encoding