+void DecodeFullString(void * d, const void * s, size_t length, const BLOWFISH_CTX &ctx)
+{
+size_t pos = 0;
+while (pos < length)
+ {
+ size_t chunkLength = std::min(length - pos, sizeof(buf));
+ DecodeString(d + pos, s + pos, &ctx);
+ pos += chunkLength;
+ }
+}
+//-----------------------------------------------------------------------------
+void EncodeFullString(void * d, const void * s, size_t length, const BLOWFISH_CTX &ctx)
+{
+size_t pos = 0;
+while (pos < length)
+ {
+ size_t chunkLength = std::min(length - pos, sizeof(buf));
+ EncodeString(d + pos, s + pos, &ctx);
+ pos += chunkLength;
+ }
+}
+//-----------------------------------------------------------------------------