(bloblessData)
| 1225 | function encodeAsBinary(obj, callback) { |
| 1226 | |
| 1227 | function writeEncoding(bloblessData) { |
| 1228 | var deconstruction = binary.deconstructPacket(bloblessData); |
| 1229 | var pack = encodeAsString(deconstruction.packet); |
| 1230 | var buffers = deconstruction.buffers; |
| 1231 | |
| 1232 | buffers.unshift(pack); // add packet info to beginning of data list |
| 1233 | callback(buffers); // write all the buffers |
| 1234 | } |
| 1235 | |
| 1236 | binary.removeBlobs(obj, writeEncoding); |
| 1237 | } |
nothing calls this directly
no test coverage detected