Comments (2)
This request comes from the fact that I can't seem to assign the value I get from
buffer.dumpString()
into a StringValue objectValue
property. I tried using a ModuleScript'sSource
property to store the string but didn't have any luck with that neither.
That's because Roblox's string properties are all null-terminated. I don't know why; it's annoying.
I'm not sure about introducing a second argument on the constructor if it's only used for specifying the stream format. Would a writeBase64
function work for you instead?
from bitbuffer.
Yeah that would work too! I already have written a decoder so that I would not be blocked, do you want me to submit a PR? If yes feel free to just ping me on discord 😄
from bitbuffer.
Related Issues (20)
- Switch to using hex for all constants
- Add functions for exporting in chunks HOT 1
- Remove adler32
- Reimplement writeUnsigned to finish off current byte when buffer isn't aligned HOT 1
- Change writeSigned + writeFloat to include the sign bit in the writeUnsigned call HOT 1
- Add function for setting pointer by byte instead of bit
- Add a function for setting the pointer relative to the end of the stream
- Don't throw in readSetLengthString when the length is 0
- Come up with solution for reading/writing little endian numbers HOT 1
- Make sure all the write functions actually return `nil`
- dumpBase64 using incorrect table.create amount HOT 1
- option to use little-endian instead of big-endian? HOT 3
- Remove bit-level packing
- [FEAT] read/writeUInt64 HOT 3
- Add several common datatypes to module as shorthands HOT 2
- Add documentation for the module
- Swap bitbuffer functions to be compatible with colon syntax HOT 1
- Assertion messages are inconsisent
- Throw when handling greater than 52-bit integers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitbuffer.