(bloblessData)
| 1172 | function encodeAsBinary(obj, callback) { |
| 1173 | |
| 1174 | function writeEncoding(bloblessData) { |
| 1175 | var deconstruction = binary.deconstructPacket(bloblessData); |
| 1176 | var pack = encodeAsString(deconstruction.packet); |
| 1177 | var buffers = deconstruction.buffers; |
| 1178 | |
| 1179 | buffers.unshift(pack); // add packet info to beginning of data list |
| 1180 | callback(buffers); // write all the buffers |
| 1181 | } |
| 1182 | |
| 1183 | binary.removeBlobs(obj, writeEncoding); |
| 1184 | } |
nothing calls this directly
no test coverage detected